package com.ay.weixin.fdc.boss.user.domain;

import org.lizar.ioc.Container;
import org.lizar.ioc.module.Module;

import com.ay.weixin.fdc.boss.user.db.UserDao;

public class UserCenter extends Module{
	
	public static final int START_INVITE_CODE=50000;
	
	private UserDao user_dao;
	
	@Override
	public void init_property() throws Exception {
		user_dao=Container.get(UserDao.class);
		
	}
	
	public static String getInviteCode(long id){
		return id+START_INVITE_CODE+"";
	}

	@Override
	public void init_component() throws Exception {
		// TODO Auto-generated method stub
		
	}


}
